import { styled } from "styled-components";

export const AreaItemWrapper = styled.div`
  width: 100%;
  display: flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 12px;
  color: #fff;
  transition: all 500ms;
  margin-bottom: 8px;

  &:hover {
    background-color: rgba(255, 255, 255, .1);
  }

  .areav3-left {
    flex: 1;
    display: flex;
    align-items: center;

    .song-cover {
      width: 50px;
      height: 50px;
      border-radius: 5px;
      margin-right: 20px;
      overflow: hidden;
      cursor: pointer;
      border: 1px solid rgba(0,0,0,.04);

      img {
        width: 100%;
        height: 100%;
      }
    }

    .container {
      display: flex;
      flex-direction: column;

      .title {
        font-weight: 600;
        font-size: 18px;
      }

      .artist {
        margin-top: 5px;
        font-size: 13px;
        opacity: .48;
        cursor: pointer;

        &:hover {
          text-decoration: underline;
        }
      }
    }
  }

  .areav3-center {
    flex: 1;
    display: flex;
    justify-content: center;
  }

  .areav3-right {
    flex: 1;
    display: flex;
    opacity: .88;
    font-weight: 600;
    justify-content: flex-end;
  }
`